package org.example.manage;

import java.util.Map;

public interface FirstManage {

    public void insertSet(String key,String value);
    //插入数据添加过期时间ttl
    public void insertSet(String key,String value,Long ttl);

    public String getSet(String key);

    public void insertHash(String key,String field,String value);

    public void incrHash(String key,String field);

    public void decrHash(String key,String field);

    public Map<Object, Object> getHash(String key);

    public void insertGeo(String key,double x,double y,String areaName);
}
